const express = require('./express');


const app = express();

app.use((req, res, next) => {
    console.log('use2')
    next();
})
app.use('/user', (req, res, next) => {
    console.log('use1');
    next();
})



app.get('/user', (req, res, next) => {
    res.end('get a ok');
})

app.listen(3000, () => {
    console.log('server is listen at 3000');
})